//
//  ImageSampleCroperViewController.h
//  TipsProject
//
//  Created by Suny on 15/5/13.
//  Copyright (c) 2015年 Suny. All rights reserved.
//

#import "BaseViewController.h"

@class ImageSampleCroperViewController;

@protocol ImageSampleCroperDelegate <NSObject>

- (void)imageCropper:(ImageSampleCroperViewController *)cropperViewController didFinished:(UIImage *)editedImage;
- (void)imageCropperDidCancel:(ImageSampleCroperViewController *)cropperViewController;

@end

@interface ImageSampleCroperViewController : BaseViewController


@property (nonatomic, assign) NSInteger tag;
@property (nonatomic, assign) id<ImageSampleCroperDelegate> delegate;
@property (nonatomic, assign) CGRect cropFrame;

- (id)initWithImage:(UIImage *)originalImage cropFrame:(CGRect)cropFrame limitScaleRatio:(NSInteger)limitRatio;

@end
